package org.jeecg.modules.quartz.service;

import java.util.List;

import org.jeecg.modules.quartz.entity.SysJobQueue;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @ClassName ISysJobQueueService
 * @Description 任务队列表
 * @author duany
 * @Date 2021-04-08 15:10:08
 * @version 1.0.0
 */
public interface ISysJobQueueService extends IService<SysJobQueue> {
	/**
	 * @Description 根据编码查询
	 * @param code
	 * @return
	 * Create at: 2021-04-08 15:10:19
	 * @author: duany
	 * Revision:
	 *    2021-04-08 15:10:19 - first revision by duany
	 *        
	 */
	List<SysJobQueue> getByCode(String code);
	
	/**
	 * @Description 根据编码删除
	 * @param code
	 * @return
	 * Create at: 2021-04-08 15:10:50
	 * @author: duany
	 * Revision:
	 *    2021-04-08 15:10:50 - first revision by duany
	 *        
	 */
	boolean deleteByCode(String code);
}
